import {
	getQueryData
} from "@/api/query/comQuery";
import {
	getDicts
} from "@/api/system/dict/data";

export function getDictVaule(name, id) {
	getDicts(name).then(ref => {
	
		return ref.data.find(item => item.dictValue === id);
	});
}